/*
 * Copyright (c)  2015~2020, xforceplus
 * All rights reserved.
 * Project:datacare-orm
 * Id: SQLGrammarCreator.java   2020-10-10 21-32-08
 * Author: Evan
 */
package cn.datacare.orm.engine;

import org.beetl.core.engine.GrammarCreator;
import org.beetl.core.statement.Expression;
import org.beetl.core.statement.FormatExpression;
import org.beetl.core.statement.PlaceholderST;

/**
 * <p>
 * Title:
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: 2015~2020
 * </p>
 * <p>
 * Company/Department: xforceplus
 * </p>
 *
 * @author Evan
 * <b>Creation Time:</b> 2020-10-10 21-32-08
 * @since V1.0
 */
public class SqlGrammarCreator extends GrammarCreator {
    @Override
    public PlaceholderST createTextOutputSt(Expression exp, FormatExpression format) {
        check("TextOutputSt");
        return new SQLPlaceholderST(exp, format, null);
    }
    @Override
    public PlaceholderST createTextOutputSt2(Expression exp, FormatExpression format) {

        return new PlaceholderST(exp, format, null);
    }

}
